package com.easytopit.demo.domain;

import java.io.Serializable;
import java.sql.Timestamp;

import com.easytopit.demo.domain.enumDomain.OrderStatus;
import com.easytopit.demo.domain.enumDomain.PayStatus;
import com.easytopit.demo.domain.enumDomain.Version;

public class Order implements Serializable{

	private static final long serialVersionUID = 1L;
	
	/**
	 * 订单号
	 */
	private String id;
	/**
	 * 用户名
	 */
	private String userName;
	/**
	 * 影院
	 */
	private String cinema;
	/**
	 * 大厅
	 */
	private String hall;
	/**
	 * 电影名称
	 */
	private String movieName;
	/**
	 * 电影场次
	 */
	private String movieTime;
	/**
	 * 电影版本
	 */
	private String version;
	/**
	 * 语言版本
	 */
	private String language;
	/**
	 * 订单详情
	 */
	private String info;
	/**
	 * 订单数量
	 */
	private Integer quantity;
	/**
	 * 订单单价
	 */
	private Double price;
	/**
	 * 订单金额
	 */
	private Double money;
	/**
	 * 生成时间
	 */
	private String createTime;
	/**
	 * 结束时间
	 */
	private String endTime;
	/**
	 * 订单状态
	 */
	private String orderStatus;
	/**
	 * 支付状态
	 */
	private String payStatus;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getCinema() {
		return cinema;
	}
	public void setCinema(String cinema) {
		this.cinema = cinema;
	}
	public String getHall() {
		return hall;
	}
	public void setHall(String hall) {
		this.hall = hall;
	}
	public String getMovieName() {
		return movieName;
	}
	public void setMovieName(String movieName) {
		this.movieName = movieName;
	}
	public String getMovieTime() {
		return movieTime;
	}
	public void setMovieTime(String movieTime) {
		this.movieTime = movieTime;
	}

	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public String getLanguage() {
		return language;
	}
	public void setLanguage(String language) {
		this.language = language;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	public Integer getQuantity() {
		return quantity;
	}
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public Double getMoney() {
		return money;
	}
	public void setMoney(Double money) {
		this.money = money;
	}

	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public void setOrderStatus(String orderStatus) {
		this.orderStatus = orderStatus;
	}
	public void setPayStatus(String payStatus) {
		this.payStatus = payStatus;
	}
	
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	@Override
	public String toString() {
		return "Order [id=" + id + ", userName=" + userName + ", cinema=" + cinema + ", hall=" + hall + ", movieName="
				+ movieName + ", movieTime=" + movieTime + ", version=" + version + ", language=" + language + ", info="
				+ info + ", quantity=" + quantity + ", price=" + price + ", money=" + money + ", createTime="
				+ createTime + ", endTime=" + endTime + ", orderStatus=" + orderStatus + ", payStatus=" + payStatus
				+ "]";
	}
	public String getOrderStatus() {
		return orderStatus;
	}
	public String getPayStatus() {
		return payStatus;
	}

}